﻿@if (Request.IsAuthenticated)
{
    <span>欢迎,</span>   <span style="color: #00aebe">
    @if (User.Identity is CurrentUser)
    {
        @((User.Identity as CurrentUser).DisplayName)
    }else{
     @User.Identity.Name
    }
    </span> 
}
else
{
    @:[ @Html.ActionLink("Log On", "LogOn", "Account") ]
}
